<?php
require("../../../class/connect.php");
require("../../../class/db_sql.php");
require("../../../class/q_functions.php");
require("../../../data/dbcache/class.php");
require("../../../class/user.php");
require("../../../class/page_obj.php");
require("../../../data/dbcache/MemberLevel.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
//是否登陆
if($is_my){
	$user=islogin();
	$r=ReturnUserInfo($user[userid]);
}
$nums=DbTouch("phome_jatsay",array("userid"=>$user_id),"count(*) as total");
$page=$_GET['p']?$_GET['p']:1;
//print_r($nums);
$page=new page_obj($page,array("itemnum"=>10,"border"=>4,"row_count"=>$nums['total']));
$limit_str=$page->get_limit_str();
$list=DbTouchAll("phome_jatsay",array("userid"=>$user_id),"*","order by time ".$limit_str);

require(ECMS_PATH.'e/template/userNews/list.php');
db_close();
$empire=null;
?>